SCI
Section: User Commands (1)
Updated: local
Index
Return to Main Contents
NAME
sci - Scheme interpreter
SYNTAX
sci
[ option ]
DESCRIPTION
The
sci
command invokes
a Scheme interpreter. The language accepted by this interpreter
is that defined in the essential portions of the
Revised3 Report on the Algorithmic Language Scheme,
with minor constraints and some additions. The
Scheme interpreter is written in Scheme which has then been compiled using
the Scheme-to-C compiler, scc.
OPTIONS
These options are accepted by
sci.
- -e
-
Echo text read from the standard input file on the standard output file.
- -emacs
-
Scheme interpreter is controlled by GNU emacs.
- -nh
-
Do not print the interpreter version header on the standard output file.
- -np
-
Do not prompt for input from the standard input file on the standard output
file.
- -q
-
Do not print the result of each expression evaluation.
- -scgc statflag
-
Enables garbage collection statistics. If set to 1, then garbage collection
statistics will be printed. The default is 0, that will result in no
statistics.
- -sch heap
-
Define the size of the heap in megabytes. The default heap size is 4 MB.
- -schf heapfile
-
Define a file containing a saved heap image that is to be used to initialize
the heap.
- -scl percent
-
Specifies the percent of the heap allocated after a generational garbage
collection that will force a full collection.
- -scm main
-
Define the function that should be used instead of the predefined "main". The
function name must be entered in the correct case, i.e. letters typically
upshifted.
ENVIRONMENT VARIABLES
The items controlled by -sc.. flags can also be controlled by environment
variables. If both the flag and the environment variable are provided, then
the flag's value will be used.
- SCGCINFO
-
Controls the reporting of garbage collection statistics to the standard error
file. If set to 1, then garbage collection statistics will be printed. The
default setting is 0 that will not print the statistics.
- SCHEAP
-
Defines the size of the heap in megabytes. The default heap size is 4 MB.
- SCHEAPFILE
-
Controls initialization of the heap from a saved heap image. If supplied, then
the heap will be loaded from the file.
- SCLIMIT
-
Defines the percent of the heap allocated after a generational garbage
collection that will force a full collection. The default is 33.
FILES
The interpreter is one a.out file with the name sci. All files
associated with the interpreter are found in the
directory .../schemetoc/scrt.
SEE ALSO
Harold Abelson and Gerald Jay Sussman with Julie Sussman,
Structure and Interpretation of Computer Programs,
The MIT Press.
Jonathan Rees and William Clinger (Editors),
Revised3 Report on the Algorithmic Language Scheme,
SIGPLAN Notices, V21, #12, December 1986.
R. Kent Dybvig,
The SCHEME Programming Language,
Prentice Hall, Inc.
Daniel P. Friedman and Matthias Felleisen,
The Little LISPer,
MIT Press.
Joel Bartlett, documentation files in .../schemetoc/....
scc(1)
QUESTIONS, COMMENTS, AND COMPLAINTS
bartlett@decwrl.dec.com
Index
- NAME
-
- SYNTAX
-
- DESCRIPTION
-
- OPTIONS
-
- ENVIRONMENT VARIABLES
-
- FILES
-
- SEE ALSO
-
- QUESTIONS, COMMENTS, AND COMPLAINTS
-
This document was created by
man2html,
using the manual pages.
Time: 01:00:30 GMT, January 03, 2023